package com.tubi.System;

public class testSystem {
    public static void main(String[] args) {

//        public   static void exit(int status)终止当前运行的   Java   虚拟机，非零表示异常终止
        System.out.println(1111);
//        System.exit(0);
        System.out.println(222);
//        public   static long currentTimeMillis()返回当前时间(以毫秒为单位)
        long l = System.currentTimeMillis();
        long l1 = System.currentTimeMillis() - l;
        System.out.println(l1);
//        arraycopy (数据源数组，起始索引，目的地数组，起始索引，拷贝个数)
        int[] arr1 = {1,2,3,4,5};
        int[] arr2 = new int[10];
        System.arraycopy(arr1, 0, arr2, 0, arr1.length);
        for (int i = 0; i < arr2.length; i++) {
            System.out.println(arr2[i]);
        }
    }
}
